import Vue from 'vue';
import VueRouter, { RouteConfig } from 'vue-router';
import routerList from './route'
Vue.use(VueRouter);

const routes: RouteConfig[] = [
  ...routerList,
  {
    path: '/',
    redirect: '/Home',
  },
];

const router = new VueRouter({
  routes,
});

export default router;
